package org.example.service;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.mapper.RecruitmentrequirementMapper;
import org.example.entity.Recruitmentrequirement;
@Service
public class RecruitmentrequirementService extends ServiceImpl<RecruitmentrequirementMapper, Recruitmentrequirement> {

   public List<Recruitmentrequirement> findByStatus1(@Param( "status") String status){
        return baseMapper.findByStatus1(status);
    }

    public  List<Recruitmentrequirement> selectByRequirementIdAndRecruiterId(@Param("requirementid") String requirementid, @Param("recruiterid") String recruiterid){
       return baseMapper.selectByRequirementIdAndRecruiterId(requirementid,recruiterid);
    }
}
